const dao = require("../DAO/chartDAO")

class chart {
    static async get(ctx) {
        var data = await dao.getChart().then((value) => {
            return value
        })
        ctx.type = "application/json";
        ctx.body = data;
    }
}
module.exports = chart